package com.example.administrator.bluetoothdemo01.util;

/**
 * Created by Lzz on 8/5/2017.
 */

public class Constant {
    public static final String CONNECTTION_UUII = "00001101-0000-1000-8000-00805F9B34FB";

    /*
    *
    * 开始监听
    *
    * */
    public static final int MSG_START_LISTENING = 1;

    /*
    *
    * 结束监听
    *
    * */
    public static final int MSG_END_LISTENING = 2;


    /*
    *
    * 有(另外一个)客户端连接
    *
    * */
    public static final int MSG_GOT_A_CLINET = 3;

    /*
    *
    * 连接到服务器
    *
    * */
    public static final int MSG_CONNECTED_TO_SERVER = 4;


    /*
    *
    * 获取数据
    *
    * */
    public static final int MSG_GOT_DATA = 5;

    /*
    *
    * 传输失败
    *
    * */
    public static final int MSG_ERROR = 6;

    /*
   *
   * (连接好了)数据传输失败
   *
   * */
    public static final int MSG_DATA_ERROR = 7;


}
